package com.easy.base.api.service;

import com.easy.base.api.model.dto.SessionUser;
import com.easy.base.api.model.entity.UserInfoEntity;

public interface IUserInfoService extends IService<UserInfoEntity> {
    /** 登录 */
    SessionUser login(String username, String password, String verify);

    /** 注销 */
    void logout();

    /** 当前用户 */
    SessionUser currentUser();
}
